import 'package:get/get.dart';
import '../pages/bars.dart';
import '../pages/shop.dart';
import '../binding/shop.dart';
import '../binding/search.dart';
import '../middleware/shopMiddleware.dart';
import '../pages/search.dart';

class AppPage {
  static final routes = [
    GetPage(name: "/", page: () => Bars()),
    GetPage(
      name: "/shop",
      page: () => ShopPage(),
      binding: ShopControllerBinding(),
      middlewares: [ShopMiddleware()],
    ),
    GetPage(
      name: "/search",
      binding: SearchControllerBinding(),
      page: () => SearchPage(),
    ),
  ];
}
